<template>
  <div id="app">
    <div class="container mx-auto px-4 py-8">
      <h1 class="text-3xl font-bold mb-8 text-center">图像比较组件示例</h1>

      <!-- 使用图像比较组件 -->
      <ImageCompare
        leftImage="https://picsum.photos/id/237/800/600"
        rightImage="https://picsum.photos/id/238/800/600"
        leftLabel="原图"
        rightLabel="处理后"
      />


    </div>
  </div>
</template>

<script setup lang="ts">
import ImageCompare from './components/ImageCompare.vue';
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
